import http from '.';

/**
 * 地址列表
 */
export const getList = () => http.get('/addresses');

/**
 * 添加地址
 */
export const save = (addressForm) => http.post('/addresses', addressForm);

/**
 * 删除地址
 * @param {*} id 地址 id
 */
export const remove = (id) => http.delete('/addresses/:id');
